@import "./variable.scss";
.ivu-btn{
  padding-top: 0;
  padding-bottom: 0;
  span{
    font-size: 14px;
  }
}

.ivu-btn-lg{
  height: 40px;
  line-height: 40px;
  min-height: 40px;
  display: inline-block;
  padding: 0 40px !important;
  vertical-align: top;
  span{
    vertical-align: top;
  }
}

.ivu-btn-primary {
  color: #fff;
  background-color: $primary-color !important;
  border-color: $primary-color;
  &:hover{
    background: $primary-hover-color !important;
    border-color: $primary-hover-color;
  }
}

.ivu-btn-text,.ivu-btn-default{
  border: 1px solid rgba(0,20,45,0.2);
  color: $font-black-color;
  &:hover{
    border-color: $primary-color;
    i{
      color: $primary-color !important;
    }
    span{
      color: $primary-color !important;
    }
  }
}
.ivu-btn-ghost{
  &.ivu-btn-primary{
    color: $white !important;
    i{
      color: $white !important;
      vertical-align: top;
    }
    span{
      vertical-align: top;
    }
  }
}
//.ivu-btn-ghost.ivu-btn-primary{
//  ba
//}

.theme-dropdown{
  &.ivu-select-dropdown{
    padding: 0 !important;
    .ivu-dropdown-item
    {
      padding-top: 0;
      padding-bottom: 0;
      line-height: 35px !important;
      &:hover{
        background: $font-black-hover-color !important;
        color: $white;
      }
    }
  }
}
.theme-dropdown1{
  &.ivu-select-dropdown{
    padding: 0 !important;
    .ivu-dropdown-item
    {
      padding-top: 0;
      padding-bottom: 0;
      line-height: 35px !important;
      padding: 0;
      span.operationBtn {
        padding: 0px 15px;
        display: inline-block;
        width: 100%;
      }
      &:hover{
        background: $font-black-hover-color !important;
        color: $white;
      }
    }
  }
}
.ivu-tree-arrow{
  vertical-align: top;
}


//分页
.pageWrap {
  margin: 0;
  padding: 0;
  text-align: right;

  .ivu-page {
    li {
      height: 32px;
      border-radius: 2px;
      font-size: 14px;
      width: auto;
      // min-width: 36px !important;
    }
  }

  .ivu-page-item {
    width: 36px;
    height: 32px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 400;
    background: $white;
    border: 1px solid rgba(0, 20, 45, 0.1);

    a {
      color: rgba(0, 20, 45, 0.8);
    }
  }

  .ivu-page-item-active {
    background: #035BEB;

    a {
      color: $white;
    }
  }
  .ivu-page-options-sizer{
    margin-right: 0;
  }

  .left-title {
    float: left;
    font-size: 14px;
    font-weight: 400;
    color: rgba(0, 20, 45, 0.5);
    line-height: 32px;
  }
}


html{
  body{
    .ivu-select-item{
      @include minFontSize;
    }
    .ivu-cascader .ivu-cascader-menu-item{
      @include minFontSize;
    }
    .ivu-select-input{
      @include minFontSize;
    }
    .ivu-input{
      @include minFontSize;
    }
    .ivu-select-selection .ivu-select-selected-value{
      @include minFontSize;
    }
    .ivu-cascader-transfer .ivu-cascader-menu-item{
      @include minFontSize;
    }
  }
}
.ivu-select-dropdown{
  max-height: 300px !important;
}
